package com.jiyinit.web.core.business.entity;

import com.jiyinit.core.framework.base.entity.BaseEntity;

import java.util.Date;

public class TabCoreOrgEntity extends BaseEntity {

    private static final long serialVersionUID = 3799399375938302910L;

    /**
     * 主键
     */
    private Integer orgId;

    /**
     * 编号
     */
    private String orgCode;

    /**
     * 名称
     */
    private String orgName;

    /**
     * 父机构
     */
    private Integer parentId;

    /**
     * 状态1正常
     */
    private Integer orgStatus;

    /**
     * 机构级别
     */
    private Integer orgLevel;

    /**
     * 创建人
     */
    private Integer createId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 最后更新人
     */
    private Integer lastModifyId;

    /**
     * 最后更新时间
     */
    private Date lastModifyTime;

    /**
     * 删除标记0否1是
     */
    private Integer isDelete;

    /**
     * 扩展字段1
     */
    private String attribute1;

    /**
     * 扩展字段2
     */
    private String attribute2;

    /**
     * 扩展字段3
     */
    private String attribute3;
    
    private Integer clas;

    private Integer inOrder;

    private Integer pInOrder;

    public Integer getPInOrder() {
        return pInOrder;
    }

    public void setPInOrder(Integer pInOrder) {
        this.pInOrder = pInOrder;
    }

    //    public Integer getpInOrder() {
//        return pInOrder;
//    }
//
//    public void setpInOrder(Integer pInOrder) {
//        this.pInOrder = pInOrder;
//    }

    public Integer getInOrder() {
        return inOrder;
    }

    public void setInOrder(Integer inOrder) {
        this.inOrder = inOrder;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public Integer getClas() {
		return clas;
	}

	public void setClas(Integer clas) {
		this.clas = clas;
	}

	public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getOrgStatus() {
        return orgStatus;
    }

    public void setOrgStatus(Integer orgStatus) {
        this.orgStatus = orgStatus;
    }

    public Integer getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(Integer orgLevel) {
        this.orgLevel = orgLevel;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getLastModifyId() {
        return lastModifyId;
    }

    public void setLastModifyId(Integer lastModifyId) {
        this.lastModifyId = lastModifyId;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getAttribute1() {
        return attribute1;
    }

    public void setAttribute1(String attribute1) {
        this.attribute1 = attribute1 == null ? null : attribute1.trim();
    }

    public String getAttribute2() {
        return attribute2;
    }

    public void setAttribute2(String attribute2) {
        this.attribute2 = attribute2 == null ? null : attribute2.trim();
    }

    public String getAttribute3() {
        return attribute3;
    }

    public void setAttribute3(String attribute3) {
        this.attribute3 = attribute3 == null ? null : attribute3.trim();
    }
}